﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cofe.Core.Implements;
using Cofe.Core.Service;
using Cofe.Data;

namespace Cofe.Core
{
    #if !NETFX_CORE
    public class ManualBootStrapperIODBWS : ManualBootStrapperIODB
    {
        private bool _newDatabase;
        private CacheUpdateOptions _updateOptions;

        public ManualBootStrapperIODBWS(bool allowReregister = false, bool newDatabase = false,
            CacheUpdateOptions updateOptions = CacheUpdateOptions.Passive)
            : base(allowReregister, newDatabase, updateOptions)
        {
            _newDatabase = newDatabase;
            _updateOptions = updateOptions;
        }

        protected override void ConfigureServiceImporter(ManualServiceImporter msi)
        {
            base.ConfigureServiceImporter(msi);
            msi.RegisterCOFEWS();
        }

    }
    #endif

  
}
